package cn.org.xwb.bookmall.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 允许登录管理端的邮箱
 * </p>
 *
 * @author xwb
 * @since 2023-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("allow_mail")
public class AllowMail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 允许登录管理端的邮箱
     */
    private String mail;

    private String role;

    /**
     * 是否禁用
     */
    private Boolean disabled;


}
